package vip.xiaonuo.auth.modular.third.service;

import java.io.IOException;

import vip.xiaonuo.auth.modular.login.param.UniappLoginCodeParam;
import vip.xiaonuo.auth.modular.login.param.WeChatServerVerifyParam;

public interface SSOAuthService {
    /**
     * 跳转到华师SSO授权页面
     *
     */
    String scnuSSOInit();

    String scnuSSOAuth(String code) throws IOException;

    Boolean SCNUSSOWeChatRegister();

    String SCNUSSOWeChatLogin(String code) throws IOException;

    String verifyWeChatServer(WeChatServerVerifyParam weChatServerVerifyParam);

    Boolean storeUniLoginCode(UniappLoginCodeParam param);

    String getUniLoginCode(UniappLoginCodeParam param);
}
